package demo.sort;

/**
 * @author lingyun.wang on @date 2021/12/27
 */
public class SortBO {
    private String field;
    private String sort;

    public SortBO(String field, String sort) {
        this.field = field;
        this.sort = sort;
    }

    public SortBO(String field) {
        this.field = field;
        this.sort = "ASC";
    }

    public String getField() {
        return field;
    }

    public String getSort() {
        return sort;
    }
}
